//
//  BanBu_MainCell.m
// Halfarea
//
//  Created by banbu3 on 14-1-7.
//
//

#import "BanBu_MainCell.h"
#import "BanBu_ThemeManager.h"
@implementation BanBu_MainCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        UIImageView *bgColorView = [[UIImageView alloc] initWithImage:[ThemeManager getThemeImage:@"backColor.png"]];
        bgColorView.layer.masksToBounds = YES;
        bgView = bgColorView;
        self.selectedBackgroundView = bgColorView;
        [bgColorView release];
    }
    return self;
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    bgView.image = [ThemeManager getThemeImage:@"backColor.png"];
}
-(void)drawRect:(CGRect)rect
{
    [super drawRect:rect];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
